﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001125 RID: 4389
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetAetherDivideLineUpCsReq : IMessage<SetAetherDivideLineUpCsReq>, IMessage, IEquatable<SetAetherDivideLineUpCsReq>, IDeepCloneable<SetAetherDivideLineUpCsReq>, IBufferMessage
	{
		// Token: 0x1700379B RID: 14235
		// (get) Token: 0x0600C473 RID: 50291 RVA: 0x00213239 File Offset: 0x00211439
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetAetherDivideLineUpCsReq> Parser
		{
			get
			{
				return SetAetherDivideLineUpCsReq._parser;
			}
		}

		// Token: 0x1700379C RID: 14236
		// (get) Token: 0x0600C474 RID: 50292 RVA: 0x00213240 File Offset: 0x00211440
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetAetherDivideLineUpCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700379D RID: 14237
		// (get) Token: 0x0600C475 RID: 50293 RVA: 0x00213252 File Offset: 0x00211452
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetAetherDivideLineUpCsReq.Descriptor;
			}
		}

		// Token: 0x0600C476 RID: 50294 RVA: 0x00213259 File Offset: 0x00211459
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetAetherDivideLineUpCsReq()
		{
		}

		// Token: 0x0600C477 RID: 50295 RVA: 0x00213261 File Offset: 0x00211461
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetAetherDivideLineUpCsReq(SetAetherDivideLineUpCsReq other) : this()
		{
			this.lineup_ = ((other.lineup_ != null) ? other.lineup_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C478 RID: 50296 RVA: 0x00213296 File Offset: 0x00211496
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetAetherDivideLineUpCsReq Clone()
		{
			return new SetAetherDivideLineUpCsReq(this);
		}

		// Token: 0x1700379E RID: 14238
		// (get) Token: 0x0600C479 RID: 50297 RVA: 0x0021329E File Offset: 0x0021149E
		// (set) Token: 0x0600C47A RID: 50298 RVA: 0x002132A6 File Offset: 0x002114A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideLineupInfo Lineup
		{
			get
			{
				return this.lineup_;
			}
			set
			{
				this.lineup_ = value;
			}
		}

		// Token: 0x0600C47B RID: 50299 RVA: 0x002132AF File Offset: 0x002114AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetAetherDivideLineUpCsReq);
		}

		// Token: 0x0600C47C RID: 50300 RVA: 0x002132BD File Offset: 0x002114BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetAetherDivideLineUpCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.Lineup, other.Lineup) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C47D RID: 50301 RVA: 0x002132F0 File Offset: 0x002114F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.lineup_ != null)
			{
				num ^= this.Lineup.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C47E RID: 50302 RVA: 0x0021332C File Offset: 0x0021152C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C47F RID: 50303 RVA: 0x00213334 File Offset: 0x00211534
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C480 RID: 50304 RVA: 0x0021333D File Offset: 0x0021153D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.lineup_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.Lineup);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C481 RID: 50305 RVA: 0x00213370 File Offset: 0x00211570
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.lineup_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Lineup);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C482 RID: 50306 RVA: 0x002133B0 File Offset: 0x002115B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetAetherDivideLineUpCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.lineup_ != null)
			{
				if (this.lineup_ == null)
				{
					this.Lineup = new AetherDivideLineupInfo();
				}
				this.Lineup.MergeFrom(other.Lineup);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C483 RID: 50307 RVA: 0x00213404 File Offset: 0x00211604
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C484 RID: 50308 RVA: 0x00213410 File Offset: 0x00211610
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.lineup_ == null)
					{
						this.Lineup = new AetherDivideLineupInfo();
					}
					input.ReadMessage(this.Lineup);
				}
			}
		}

		// Token: 0x04004F3A RID: 20282
		private static readonly MessageParser<SetAetherDivideLineUpCsReq> _parser = new MessageParser<SetAetherDivideLineUpCsReq>(() => new SetAetherDivideLineUpCsReq());

		// Token: 0x04004F3B RID: 20283
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004F3C RID: 20284
		public const int LineupFieldNumber = 13;

		// Token: 0x04004F3D RID: 20285
		private AetherDivideLineupInfo lineup_;
	}
}
